<?php head(array('bodyid'=>'home', 'bodyclass' =>$bodyclass));?>

<div id="secondary">
	<?php echo secondary_poincare();?>
</div>

<div id="primary">
    <?php if ($homepageText = get_theme_option('Homepage Text')): ?>
    <div id="homepage-text" style="margin-bottom:1.5em;">
    	<?php echo $homepageText; ?>
    </div>
    <?php endif; ?>

    <div id="featured-content-right">
	    <?php if ((get_theme_option('Display Featured Exhibit')) && function_exists('exhibit_builder_display_random_featured_exhibit_poincare')): ?>
    	<?php echo exhibit_builder_display_random_featured_exhibit_poincare(); ?>
	    <?php endif; ?>
    	<?php echo display_partners_poincare(); ?>
    </div>

    <?php if (get_theme_option('Display Featured Item') == 1): ?>
    <div id="featured-item">
        <?php echo display_random_featured_item_poincare(); ?>
    </div>
    <?php endif; ?>

    <?php if (get_theme_option('Display Featured Collection')): ?>
   	<div id="featured-collection">
        <?php echo display_random_featured_collection(); ?>
    </div>
    <?php endif; ?>
</div>
<?php foot(); ?>